package com.jeeplus.modules.statistics.model.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 具有x、y轴统计的通用出参
 *
 * @author hanKongBin
 * @version 1.0
 * @date 2021/3/1 22:03
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@ApiModel("xy轴数据")
public class StatisticsXY {

    @ApiModelProperty("x轴数据")
    private Object xValue;

    @ApiModelProperty("y轴数据")
    private Object yValue;

    @Data
    @AllArgsConstructor
    @NoArgsConstructor
    public static class StatisticsND {

        private String name;
        
        private long[] data;
    }

}
